package com.yida.system.api.enums;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description 系统数据接入配置枚举类
 * @Author wws
 * @Date 2023-04-03
 */
public enum SysDataPutInConfigEnum {

    /**
     * 永春公维金系统对接
     */
    GWJ_INIT_CONFIG("gwj_system","永春公维金系统对接"),


    /**
     * 公维金短信机
     */
    GWJ_SMS_CONFIG("gwj_sms","公维金短信机");


    private String type;

    private String desc;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    SysDataPutInConfigEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public static List<String> getTypeList(){
        List<String> typeList = new ArrayList<String>();
        for (SysDataPutInConfigEnum value : SysDataPutInConfigEnum.values()) {
            typeList.add(value.getType());
        }
        return typeList;
    }
}
